package com.zeng.configuration.microprofile.config.source.servlet;

import com.zeng.web.WebApplicationInitializer;

import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Set;

/**
 * @author zyb
 */
public class ServletConfigInitializer implements WebApplicationInitializer {

    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        servletContext.addListener(ServletContextConfigInitializer.class);
    }

    @Override
    public int ordinal() {
        return 100;
    }
}
